package com.itheima.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.admin.pojo.AdSensitive;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @version 1.0
 * @description 标题
 * @package com.itheima.admin.mapper
 */
@Repository
public interface AdSensitiveMapper extends BaseMapper<AdSensitive> {


    /**
     * 查询所有的敏感词
     * @return
     */
    @Select("select sensitives from ad_sensitive")
    List<String> selectAllSensitives();
}
